package com.ray.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ray.bean.AirFlowControlBean;
import com.ray.pojo.AirFlowControlPojo;

public interface AirFlowControlMapper {

	List<AirFlowControlBean> getAirFlowControlBeansByCompany(
			@Param("company") String company);

	List<AirFlowControlBean> getAllAirFlowControlBeans();

	AirFlowControlBean getAirFlowControlBeanById(
			@Param("airFlowControlId") String airFlowControlId);

	void insertAirFlowControl(AirFlowControlBean airFlowControlBean);

	void delByControlSwitchId(@Param("airFlowControlId") String airFlowControlId);

	void updataAirFlowControl(
			@Param("airFlowControlBean") AirFlowControlBean airFlowControlBean);

	List<AirFlowControlPojo> getAirFlowControlPojoByPageAndCompany(
			@Param("company") String company,
			@Param("start") int start,
			@Param("end") int end);
}
